<template>

  <div @click="download"
       class="downloadDataButton">
    <img src="../../assets/downButton.png"
         alt="">
    导出

  </div>
</template>

<script>
export default {
  name: 'CHartSaveButton',
  methods: {
    download () {
      window.open("http://172.28.14.30:9454/admin/file/student/list/true")
    }
  }
}
</script>

<style lang='less' scoped>
.downloadDataButton {
  width: 4.75rem;
  height: 1.9rem;
  background-color: #f4f4f4;
  border-radius: 0.4rem;
  text-align: center;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  img {
    width: 1.2rem;
    height: 1.2rem;
  }
}
</style>
